package com.nineclock.attendance.service;

import com.nineclock.attendance.dto.AttendPunchDTO;
import com.nineclock.attendance.dto.AttendPunchUserWholeDayDTO;
import com.nineclock.system.dto.SysCompanyUserDTO;

import java.io.IOException;
import java.util.List;

/**
 * @author 黑马程序员
 * @Company http://www.ithiema.com
 * @Version 1.0
 */
public interface AttendPunchService {
    //获取 考勤列表 excel文件的路径
    public String generateExcelReport(Long companyId,List<AttendPunchDTO> attendPunchDTOS, String firstDay);

    void punch(AttendPunchDTO attendPunchDTO);

    AttendPunchUserWholeDayDTO queryPunchRecord();

    List<AttendPunchDTO> queryMember(String startTime, String endTime);

    void export(String startTime, String endTime) throws IOException;

    //获取 考勤列表
    public List<AttendPunchDTO> getAttendPunch(Long companyId, List<SysCompanyUserDTO> companyUserDTOList, String startTime , String endTime, List<String> dateStrList);

}
